package com.jm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jm.pojo.ShoppingCart;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ShoppingCartService extends IService<ShoppingCart> {

    ShoppingCart getShoppingCart(ShoppingCart shoppingCart, Long userId);

    boolean cleanShoppingCartByUserId(Long userId);
}
